<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>欢迎页面</title>
    <link rel="stylesheet" href="../css/element-ui.css" />
    <script src="../js/vue.js"></script>
    <script src="../js/element-ui.js"></script>
</head>
<body>
<div id="app">
    <el-container>
        <el-header>Header</el-header>
        <el-container>
            <el-aside width="200px">
                <div style="width: 100%; height: 80px; line-height: 50px;">
                    <h3>蜗牛菜单</h3>
                </div>
                <div>
                    <ul>
                        <li>用户管理</li>
                        <li>图书管理</li>
                        <li>权限管理</li>
                    </ul>
                </div>
            </el-aside>
            <el-main>Main</el-main>
        </el-container>
    </el-container>
</div>
</body>
<script>
    let vm = new Vue({
        el: '#app',
        data() {
            return {

            }
        },
        methods: {

        }
    });
</script>
<style>
    .el-header, .el-footer {
        background-color: #B3C0D1;
        color: #333;
        text-align: center;
        line-height: 60px;
    }

    .el-aside {
        background-color: #D3DCE6;
        color: #333;
        text-align: center;
        height: 90vh; /* wh表示按照比例划分 */
    }

    .el-main {
        background-color: #E9EEF3;
        color: #333;
        text-align: center;
        line-height: 160px;
    }

    body {
        margin: 0px;
        padding: 0px;
    }

    body > .el-container {
        margin-bottom: 40px;
    }

    .el-container:nth-child(5) .el-aside,
    .el-container:nth-child(6) .el-aside {
        line-height: 260px;
    }

    .el-container:nth-child(7) .el-aside {
        line-height: 320px;
    }

    li {
        list-style: none;
    }
</style>
</html>
